import { WingBlank, WhiteSpace } from 'antd-mobile'
import { Icon } from 'antd'
import router from 'umi/router'
import Wait_ from './components/wait'
import styles from './index.scss'

export default function () {
  return (
    <WingBlank size="lg">
      <WhiteSpace size="lg" />
      <div className={styles.box}>
        <div onClick={() => router.push(`/outlets?type=1`)}>
          <Icon type="bulb" />
          <div className={styles.title}>预约</div>
        </div>
        <div onClick={() => router.push(`/outlets?type=2`)}>
          <Icon type="user" />
          <div className={styles.title}>在线取号</div>
        </div>
        <div>
          <Icon type="history" />
          <div className={styles.title}>历史记录</div>
        </div>
      </div>
      <Wait_ />
    </WingBlank>
  )
}
